import requests
import re

url = 'https://tiyu.baidu.com/match/NBA/tab/%E7%90%83%E5%91%98%E6%A6%9C/current/0'
res = requests.get(url)
# print(res.text)
res = res.text
name = re.findall(
    '<div class="info" data-a-16bbc55d><p class="c-color-link c-line-clamp1" data-a-16bbc55d>(.*?)</p>', res,
    re.S)
print(name)

